<%--
  Created by IntelliJ IDEA.
  User: Gavin
  Date: 2016/2/22
  Time: 23:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <script src="static/javascript/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" language="JavaScript">
        $(document).ready(function(){
            $("#contactUs").click(function () {
                obj=$.ajax({url:"page/pageShow?pageType=CONTACT_US",async:false});
                $("#main").html(obj.responseText);
            });
            $("#websiteStatement").click(function () {
                obj=$.ajax({url:"page/pageShow?pageType=WEBSITE_STATEMENT",async:false});
                $("#main").html(obj.responseText);
            });
        });
    </script>
</head>
<body>
    <a id="contactUs">联系我们</a>
    <a id="websiteStatement">网站申明</a>
</body>
</html>
